package designPattern.proxy代理模式.dynamicProxy;

public class App {

    public static void main(String[] args) {
        UserService userService = new UserServiceImpl();
        UserService proxy = (UserService) new ProxyInvocationHandler(userService).getProxy();
        proxy.add();
    }
}
